package com.yyds.oneservice.utils;

import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;

/**
 * @date 2022/11/4
 * @desc
 */
public class PhoneUtil {

    public static List<Map<String,String>> getTag(String tag){
        String[] tags = tag.split("&");

        ArrayList<Map<String, String>> list = new ArrayList<>();
        HashMap<String, String> map = null;
        for(String t:tags){
            map = new HashMap<>();
            map.put("name",t);
            list.add(map);
        }

        return list;
    }
}
